<!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
        <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
        <title>分公司管理</title>
        <meta name="description" content="overview &amp; stats"/>
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
        <link rel="stylesheet" href="__CSS__/my-style.css"/>

        <!-- bootstrap & fontawesome -->
        <link rel="stylesheet" href="__CSS__/bootstrap.min.css"/>
        <link rel="stylesheet" href="__CSS__/font-awesome.min.css"/>
        <!-- ace styles -->
        <link rel="stylesheet" href="__CSS__/ace.min.css"/>
        <link rel="stylesheet" href="__CSS__/common.css"/>
        <link rel="stylesheet" href="__CSS__/business.css">
        <link rel="stylesheet" href="__CSS__/ueditor.css">
        <!--<link rel="stylesheet" href="__CSS__/s-settle.css"/>-->
        <script src="__STATIC__/js/ace-extra.min.js"></script>
        <script src="__STATIC__/js/laydate.js"></script>

</head>

    <body class="no-skin">
<!-- head navbar 头部导航条 -->


<div class="main-container" id="main-container">
    <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {
        }
    </script>

    <div id="sidebar" class="sidebar  responsive">
        <script type="text/javascript">
            try {
                ace.settings.check('sidebar', 'fixed')
            } catch (e) {
            }
        </script>

        <ul class="nav nav-list">
            <li class="logo">
                <img src="/static/images/logo.png">
            </li>


            {volist name="leftMenu" id="vo"}

            <li class="" >
                <a href="/admin/{$vo.url}" {if condition="$vo.active == 1"}style="color:#fff;"{/if}>
                    <i class="menu-icon fa {$vo.class} "></i>
                    <span class="menu-text "> {$vo.name}  </span>
                </a>
                <b class="arrow"></b>
            </li>

            {/volist}

            <!--<li class="">-->
                <!--<a href="/admin/stockholder/index">-->
                    <!--<i class="menu-icon fa fa-home"></i>-->
                    <!--<span class="menu-text"> 股东列表  </span>-->
                <!--</a>-->
                <!--<b class="arrow"></b>-->
            <!--</li>-->
            <!--<li class="">-->
                <!--<a href="/admin/income/index">-->
                    <!--<i class="menu-icon fa fa-bullhorn"></i>-->
                    <!--<span class="menu-text"> 收益列表 </span>-->
                <!--</a>-->
                <!--<b class="arrow"></b>-->
            <!--</li>-->

            <!--<li class="">-->
                <!--<a href="/admin/profit/index">-->
                    <!--<i class="menu-icon fa fa-pencil-square-o"></i>-->
                    <!--<span class="menu-text"> 分红管理 </span>-->
                <!--</a>-->
                <!--<b class="arrow"></b>-->
            <!--</li>-->

            <!--<li class="">-->
                <!--<a href="/admin/profit/checklist">-->
                    <!--<i class="menu-icon fa fa-comments-o"></i>-->
                    <!--<span class="menu-text"> 分红审核记录 </span>-->
                <!--</a>-->
                <!--<b class="arrow"></b>-->
            <!--</li>-->

            <!--<li class="">-->
                <!--<a href="/admin/purchase/apply">-->
                    <!--<i class="menu-icon fa fa-star-o"></i>-->
                    <!--<span class="menu-text"> 采购申请列表 </span>-->
                <!--</a>-->
                <!--<b class="arrow"></b>-->
            <!--</li>-->


            <!--<li class="">-->
                <!--<a href="#" class="dropdown-toggle">-->
                    <!--<i class="menu-icon fa fa-star-o"></i>-->
                    <!--<span class="menu-text"> 采购初审列表 </span>-->
                <!--</a>-->
                <!--<b class="arrow"></b>-->
            <!--</li>-->

            <!--<li class="">-->
                <!--<a href="/admin/citycompany/index">-->
                    <!--<i class="menu-icon fa fa-star-o"></i>-->
                    <!--<span class="menu-text"> 市级分公司 </span>-->
                <!--</a>-->
                <!--<b class="arrow"></b>-->
            <!--</li>-->


            <!--<li class="">-->
                <!--<a href="/admin/countycompany/index">-->
                    <!--<i class="menu-icon fa fa-star-o"></i>-->
                    <!--<span class="menu-text"> 区县级分公司 </span>-->
                <!--</a>-->
                <!--<b class="arrow"></b>-->
            <!--</li>-->


            <!--<li class="">-->
                <!--<a href="#" class="dropdown-toggle">-->
                    <!--<i class="menu-icon fa fa-star-o"></i>-->
                    <!--<span class="menu-text"> 惠民店列表 </span>-->
                <!--</a>-->
                <!--<b class="arrow"></b>-->
            <!--</li>-->

        </ul>
        <!-- /.nav-list -->
        <script type="text/javascript">
            try {
                ace.settings.check('sidebar', 'collapsed')
            } catch (e) {
            }
        </script>
    </div>

    <div class="main-content">


        <div id="navbar" class="navbar navbar-default navbar-collapse h-navbar" style="height: 45px;">
            <h2 style="color: #94979C;font-size: 25px;line-height: 45px;margin: 0;padding-left: 10px;float: left"> {$companyName}分公司-管理后台</h2>
                <!-- /.navbar-container -->
                <!--头部右边列表-->
                <div class="navbar-header pull-right" role="navigation">
                    <ul class="nav ace-nav">
                        <li>
                            <small>欢迎,</small>
                            <span style="font-weight: bold;">{:session('user_realname')}</span>
                        </li>
                        <li>
                            <a class="flush" onclick="refresh();" style="cursor:pointer;">刷新</a>
                        </li>
                        <li>
                            <a onclick="loginout();" style="cursor:pointer;">退出</a>
                        </li>
                    </ul>
                </div>
        </div>

        <!--[if !IE]> -->
        <script src="__STATIC__/js/jquery-2.1.1.min.js"></script>

        <!-- <![endif]-->

        <!--[if IE]>
        <script src="__STATIC__/js/jquery-1.11.1.min.js"></script>
        <![endif]-->
        {__CONTENT__}
    </div>
</div>



        <!--[if !IE]> -->
        <script type="text/javascript">
            window.jQuery || document.write("<script src='__STATIC__/js/jquery.min.js'>" + "<" + "/script>");
        </script>

        <!-- <![endif]-->

        <!--[if IE]>
        <script type="text/javascript">
            window.jQuery || document.write("<script src='__STATIC__/js/jquery1x.min.js'>" + "<" + "/script>");
        </script>
        <![endif]-->
        <script type="text/javascript">
            if ('ontouchstart' in document.documentElement) document.write("<script src='__STATIC__/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
        </script>
        <script src="__STATIC__/js/bootstrap.min.js"></script>

        <!-- page specific plugin scripts -->

        <!--[if lte IE 8]>
        <script src="__STATIC__/js/excanvas.min.js"></script>
        <![endif]-->

        <script src="__PLUGIN__/layer/layer.js"></script>
        <!-- ace scripts -->
        <script src="__STATIC__/js/ace-elements.min.js"></script>
        <script src="__STATIC__/js/ace.min.js"></script>
        <script src="__STATIC__/js/laydate.js"></script>
        <script src="__STATIC__/js/popup.js"></script>
        <!-- inline scripts related to this page -->
        <script>


            // 页面刷新
            function refresh() {
                location.reload();
            }

            // 退出登录
            function loginout() {
                location.href = "{:url('login/logout')}";
            }
        </script>
    </body>
</html>